Only initialize test buffers once
authorØyvind Kolås <pippin@gimp.org>
Sun, 29 Nov 2009 15:42:05 +0000 (15:42 +0000)
committerØyvind Kolås <pippin@gimp.org>
Sun, 29 Nov 2009 15:45:11 +0000 (15:45 +0000)
commit225d70ba0d3a191be46bf671afc351f1fd8b4f27
tree0af07cc1e9e4cbacf4f88182582a8ae1b8191330
parent5af15f8d386a86a0236a8c9e6e118f62fa57f9f7
Only initialize test buffers once

Also made the test buffer static inline for individual conversions like
it already was for fish paths.

Note, this relies on none of the tested conversions by accident
being buggy enough to modify their source data, adding a sanity
function that compares the buffers with the correct values could
perhaps be useful.
babl/babl-conversion.c
babl/babl-fish-path.c